package com.cloud.open.config;

import com.cloud.common.support.CacheConfigurer;
import org.springframework.cache.CacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CacheConfig extends CacheConfigurer {

    public static final String APP = "CacheOpen:App:";

    @Bean
    @Override
    public CacheManager cacheManager() {
        setTimeout(APP, 60);
        return createCacheManager();
    }

}
